#include "../app/app_device.h"
#include "log/log.h"
#include <unistd.h>
#include "../app/app_bt.h"

int main(int argc, char const *argv[])
{
    Device *device= app_device_init("/home/zzzz/桌面/gataway/test_dev_file");
    app_bt_init(device);
    app_device_start(device);
    //防止过快销毁，100秒
    sleep(100);
    app_device_destroy(device); 
    return 0;
}


